Mangopi MQ

您所在的位置:网站首页 iommu group什么意思 Mangopi MQ

Mangopi MQ

2023-04-07 22:26| 来源: 网络整理| 查看: 265

文章目录Tina Linux系统介绍开发板介绍安装Ubuntu环境网盘下载完整的压缩包--安装SDK解压缩SDK出来注意1、Tina默认的文件系统格式是只读的squashfs格式的2、修改根文件系统的分区大小烧录开发板商编译好的镜像Git安装SDK(不推荐!)一些打印信息测试wifi进入系统后查看一下东西查看温度上电信息 Tina Linux系统介绍:https://d1.docs.aw-ol.com/study/study_1tina/

Tina Linux系统介绍

Tina Linux是全志科技基于Linux内核开发的针对智能硬件类产品的嵌入式软件系统。Tina Linux基于openwrt-14.07 版本的软件开发包,包含了 Linux 系统开发用到的内核源码、驱动、工具、系统中间件与应用程序包。

*openwrt 是知名的开源嵌入式 Linux 系统自动构建框架,是由 Makefile 脚本和 Kconfig 配置文件构成的。使得用户可以通过 menuconfig配置,编译出一个完整的可以直接烧写到机器上运行的 Linux 系统软件。

开发板介绍

特性:

T113 with 128MB DDR3, Dual-Core A7 up to 1GHzUSB-OTG Type-CUSB-HOST Type-C18Pin expand x2TF cardRTL8189F WiFi or other WiFi/BT module40Pins RGB FPC connector6Pins CTP FPC connectorMIC x 124Pins DVP FPC connectorFel,reset button3x4.5cm size

开发板

MQ1RDW: RTL8189F WiFi version, no NAND FLASH , T113 CPUMQ1RDW2: RTL8723ds WiFi version, no NAND FLASH , T113 CPU 安装Ubuntu环境

ubuntu安装环境:

$ sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lib32z1 lib32z1-dev lib32s 网盘下载完整的压缩包–安装SDK

git的那种方式我试了,花了8个小时最后编译还是有错误,网盘下载完整包只花了两小时就编译成功了!

网盘地址:https://pan.baidu.com/s/1KJr-uezxTRINuVa9sNr8_g?pwd=tina 开发板厂商的资料界面:https://mangopi.cc/d1

解压缩SDK出来

跟着下面的顺序操作,第一次编译make需要的时间较长(推荐的单核编译耗时约45min)

$ source build/envsetup.sh$ lunch选择开发板:$ 7编译:$ make打包boot0和uboot为一个文件:$ mboot打包成一个.img镜像:$ pack

打包好的镜像文件的地址:

/home/liefyuan/Liefyuan/Tina-Linux/Tina-Linux/out/t113-mq_r/tina_t113-mq_r_uart0.img

使用phoenixcard4.2.8.zip烧录启动卡到SD卡里面去。

注意 1、Tina默认的文件系统格式是只读的squashfs格式的

通过make menuconfig来重新配置一下根文件系统为ext4,ext4格式的文件系统大小需要设置一下(因为我是需要加Qt的,所以大小设为256MB)。 在这里插入图片描述

2、修改根文件系统的分区大小

修改文件:$ /home/liefyuan/Liefyuan/Tina-Linux/Tina-Linux/device/config/chips/t113/configs/mq_r/sys_partition.fex

... [partition]name = rootfssize = 61440downloadfile = "rootfs.fex"user_type = 0x8000 ... 这里的size是基于sector单位,大小是512Byte。默认的文件大小是(61440*512)/1024/1024= 30MByte

修改为:

... [partition]name = rootfssize = 524288downloadfile = "rootfs.fex"user_type = 0x8000 ...

打包好的地址为:/home/liefyuan/Liefyuan/Tina-Linux/Tina-Linux/out/t113-mq_r/tina_t113-mq_r_uart0.img

烧录开发板商编译好的镜像

https://mangopi.cc/d1

基于不同的WIFI模组烧录不同固件:

mq-r-t113-rtl8189fs-5113-dns-uart0.zipmq-r-t113-rtl8723ds-5135-dns-uart0.zip

使用phoenixcard4.2.8.zip烧录启动卡到SD卡里面去。

Git安装SDK(不推荐!)

地址:https://github.com/mangopi-sbc/Tina-Linux

从 GitHub 下载 SDK(谨慎使用!不太靠谱,还花时间)

$ git clone https://github.com/mangopi-sbc/Tina-Linux.git $ cd Tina-Linux/ $ git submodule update --init --recursive// download the static file $ wget http://dl.mangopi.cc/tina/prebuilt.tar.gz . $ tar xzvf prebuilt.tar.gz $ wget http://dl.mangopi.cc/tina/dl.tar . $ tar xvf dl.tar $ wget http://dl.mangopi.cc/tina/toolchain/riscv64-linux-x86_64-20200528.tar.xz -P ./lichee/brandy-2.0/tools/toolchain/ $ wget http://dl.mangopi.cc/tina/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi.tar.xz -P ./lichee/brandy-2.0/tools/toolchain/

编译:

$ source build/envsetup.sh $ lunch

Flash to TF-Card just used phoenixcar more info : https://mangopi.cc/d1

一些打印信息 liefyuan@ubuntu:~/Liefyuan/T113-Tina/Tina-Linux-main$ source build/envsetup.sh Setup env done! Please run lunch next. liefyuan@ubuntu:~/Liefyuan/T113-Tina/Tina-Linux-main$ lunchYou're building on LinuxLunch menu... pick a combo:1. d1_mq_pro-tina2. d1_nezha_min-tina3. d1_nezha-tina4. f133_evb1-tina5. f133_mq_r-tina6. t113_evb1-tina7. t113_mq_r-tinaWhich would you like?: 7 ============================================ TINA_BUILD_TOP=/home/liefyuan/Liefyuan/T113-Tina/Tina-Linux-main TINA_TARGET_ARCH=arm TARGET_PRODUCT=t113_mq_r TARGET_PLATFORM=t113 TARGET_BOARD=t113-mq_r TARGET_PLAN=mq_r TARGET_BUILD_VARIANT=tina TARGET_BUILD_TYPE=release TARGET_KERNEL_VERSION=5.4 TARGET_UBOOT=u-boot-2018 TARGET_CHIP=sun8iw20p1 ============================================ clean buildserver [1] 41646

上电成功: 确认是我刚刚编译好的。

[ 0.000000] Linux version 5.4.61 (liefyuan@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #1 SMP PREEMPT Sun Sep 4 10:17:14 UTC 2022 测试wifi

命令都在:/bin

root@TinaLinux:/bin# ls adb_shell sed adbd setusbconfig ash sh busybox sleep cat softap_down chmod softap_longtime_test cp softap_test date softap_up dd sync df traceroute6 dmesg ubus echo umount fgrep uname fsync usleep grep vi gunzip wifi_connect_ap_test hostname wifi_connect_ap_with_netid_test kill wifi_connect_chinese_ap_test ln wifi_disconnect_ap_test login wifi_get_connection_info_test ls wifi_get_netid_test mkdir wifi_list_networks_test mount wifi_longtime_scan_test mv wifi_longtime_test nice wifi_off_test passwd wifi_on_off_test pidof wifi_on_test ping wifi_reconnect_ap_test ping6 wifi_remove_all_networks_test ps wifi_remove_network_test pwd wifi_scan_results_test rm wifi_wps_pbc_test

使用命令:

root@TinaLinux:/bin# wifi_connect_ap_test -h --------------------------------------------------------------------------------- NAME:wifi_connect_ap_test DESCRIPTION:connect the AP when don't konw the key_mgmt. USAGE:wifi_connect_ap_test PARAMS:ssid : ssid of the APpasswd : password of the AP, don't need it when key_mgmt is NONElevel : print level(d0~d5).larger value,more info.para is not required,default d2. --------------------------------------MORE--------------------------------------- The way to get help information:wifi_connect_ap_test --helpwifi_connect_ap_test -hwifi_connect_ap_test -H --------------------------------------------------------------------------------- 进入系统后查看一下东西 root@TinaLinux:/sys/firmware/devicetree/base/cpus# ls #address-cells cpu@0 enable-method name #size-cells cpu@1 idle-states

确认是有两个CPU的。

查看温度

高温关机的设置在设备树里

路径:tina/lichee/linux-4.9/arch/arm64/boot/dts/sunxi对应的设备树文件,如sun50iw11p1.dtsi

temperature = ;一项,单位是千分之一摄氏度,110000的意思就是110摄氏度自动关机

上电信息 [19]HELLO! BOOT0 is starting! [22]BOOT0 commit : adaf1174cc [25]set pll start [31]periph0 has been enabled [34]set pll end [35][pmu]: bus read error [38]board init ok [40]ZQ value = 0x2f [42]get_pmu_exist() = -1 [44]ddr_efuse_type: 0xa [47]trefi:7.8ms [49][AUTO DEBUG] single rank and full DQ! [53]ddr_efuse_type: 0xa [56]trefi:7.8ms [58][AUTO DEBUG] rank 0 row = 13 [61][AUTO DEBUG] rank 0 bank = 8 [64][AUTO DEBUG] rank 0 page size = 2 KB [69]DRAM BOOT DRIVE INFO: V0.33 [72]DRAM CLK = 936 MHz [74]DRAM Type = 3 (2:DDR2,3:DDR3) [77]DRAMC read ODT off. [80]DRAM ODT value: 0x42. [82]ddr_efuse_type: 0xa [85]DRAM SIZE =128 M [87]dram_tpr4:0x0 [89]PLL_DDR_CTRL_REG:0xf8004d00 [92]DRAM_CLK_REG:0xc0000000 [95][TIMING DEBUG] MR2= 0x20 [102]DRAM simple test OK. [105]rtc standby flag is 0x0, super standby flag is 0x0 [110]dram size =128 [113]card no is 0 [115]sdcard 0 line count 4 [117][mmc]: mmc driver ver 2021-05-21 14:47 [127][mmc]: Wrong media type 0x0 [130][mmc]: ***Try SD card 0*** [138][mmc]: HSSDR52/SDR25 4 bit [141][mmc]: 50000000 Hz [143][mmc]: 29520 MB [145][mmc]: ***SD/MMC 0 init OK!!!*** [236]Loading boot-pkg Succeed(index=0). [239]Entry_name = u-boot [246]Entry_name = optee [250]Entry_name = dtb [253]mmc not para [255]Jump to second Boot. M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 armU-Boot 2018.05-g2a1965a (Jul 10 2022 - 02:50:57 +0000) Allwinner Technology[00.308]CPU: Allwinner Family [00.310]Model: sun8iw20 [00.313]DRAM: 128 MiB [00.316]Relocation Offset is: 04ebc000 [00.342]secure enable bit: 0 [00.344]smc_tee_inform_fdt failed with: -65526[00.348]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.354]gic: sec monitor mode [00.357]flash init start [00.359]workmode = 0,storage type = 1 [00.363][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.368][mmc]: get sdc_type fail and use default host:tm1. [00.374][mmc]: can't find node "mmc0",will add new node [00.379][mmc]: fdt err returned [00.383][mmc]: Using default timing para [00.387][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.404][mmc]: card_caps:0x3000000a [00.407][mmc]: host_caps:0x3000003f [00.411]sunxi flash init ok [00.413]line:703 init_clocks [00.416]drv_disp_init request pwm success, pwm7:pwm7:0x2000c00. fdt get node offset faill: hdmi [00.432]unable to map hdmi registers [00.435]drv_disp_init finish [00.449]Loading Environment from SUNXI_FLASH... OK [00.468]boot_gui_init:start [00.470]set disp.dev2_output_type fail. using defval=0 [00.477]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 1 ms (52.7 KiB/s) [00.489]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 4 ms (9.2 MiB/s) [00.502]Item0 (Map) magic is bad [00.505]the secure storage item0 copy0 magic is bad [00.510]Item0 (Map) magic is bad [00.513]the secure storage item0 copy1 magic is bad [00.517]Item0 (Map) magic is bad [00.520]out of usb burn from boot: not need burn key List file under ULI/factory ** Unrecognized filesystem type ** root_partition is rootfs set root to /dev/mmcblk0p5 [00.537]update part info [00.540]update bootcmd [00.544]change working_fdt 0x43e7be70 to 0x43e5be70 disable nand error: FDT_ERR_BADPATH [00.564]update dts Hit any key to stop autoboot: 1 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 [00.667]LCD open finish 0 [01.752]no vendor_boot partition is found Android's image name: t113-mq_r [01.763]Starting kernel ...[01.766][mmc]: MMC Device 2 not found [01.769][mmc]: mmc 2 not find, so not exit [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (liefyuan@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #1 SMP PREEMPT Sun Sep 4 10:17:14 UTC 2022 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: sun8iw20 [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 4 MiB at 0x47c00000 [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440 [ 0.000000] pcpu-alloc: s30348 r8192 d22900 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 rootdelay=2 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=4M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g2a1965a(07/10/2022-02:50:57) mbr_offset=1032192 disp_reserve=1536000,0x43f06000 androidboot.dramsize=128 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 106048K/131072K available (6144K kernel code, 304K rwdata, 1572K rodata, 1024K init, 1173K bss, 20928K reserved, 4096K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x26c/0x3ec with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.008007] Switching to timer-based delay loop, resolution 41ns [ 0.014172] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023856] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.034222] pid_max: default: 32768 minimum: 301 [ 0.038964] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.046298] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.054614] CPU: Testing write buffer coherency: ok [ 0.059822] /cpus/cpu@0 missing clock-frequency property [ 0.065155] /cpus/cpu@1 missing clock-frequency property [ 0.070485] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.076639] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.083301] rcu: Hierarchical SRCU implementation. [ 0.088503] smp: Bringing up secondary CPUs ... [ 0.094137] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.094254] smp: Brought up 1 node, 2 CPUs [ 0.104068] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.110255] CPU: All CPU(s) started in SVC mode. [ 0.115333] devtmpfs: initialized [ 0.129663] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.137786] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.147889] pinctrl core: initialized pinctrl subsystem [ 0.154027] NET: Registered protocol family 16 [ 0.159976] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.194981] rtc_ccu: sunxi ccu init OK [ 0.201055] ccu: sunxi ccu init OK [ 0.204870] r_ccu: sunxi ccu init OK [ 0.227600] iommu: Default domain type: Translated [ 0.232646] sunxi iommu: irq = 24 [ 0.236830] SCSI subsystem initialized [ 0.240742] usbcore: registered new interface driver usbfs [ 0.246281] usbcore: registered new interface driver hub [ 0.251706] usbcore: registered new device driver usb [ 0.257448] Advanced Linux Sound Architecture Driver Initialized. [ 0.264118] Bluetooth: Core ver 2.22 [ 0.267743] NET: Registered protocol family 31 [ 0.272188] Bluetooth: HCI device and connection manager initialized [ 0.278573] Bluetooth: HCI socket layer initialized [ 0.283464] Bluetooth: L2CAP socket layer initialized [ 0.288540] Bluetooth: SCO socket layer initialized [ 0.293642] pwm module init! [ 0.297724] g2d 5410000.g2d: Adding to iommu group 0 [ 0.302981] G2D: rcq version initialized.major:252 [ 0.308613] clocksource: Switched to clocksource arch_sys_counter [ 0.323154] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.332380] NET: Registered protocol family 2 [ 0.337289] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.345709] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.353417] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.360499] TCP: Hash tables configured (established 1024 bind 1024) [ 0.366938] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.373517] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.380705] NET: Registered protocol family 1 [ 0.385993] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.396301] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.403033] sunxi_spi_resource_get()2116 - [spi0] SPI MASTER MODE [ 0.409192] sunxi_spi_resource_get()2154 - Failed to get sample mode [ 0.415546] sunxi_spi_resource_get()2159 - Failed to get sample delay [ 0.422010] sunxi_spi_resource_get()2163 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.430437] sunxi_spi_clk_init()2205 - [spi0] mclk 100000000 [ 0.436698] sunxi_spi_probe()2623 - [spi0]: driver probe succeed, base c881f000, irq 39 [ 0.446316] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.457655] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.463678] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.497598] io scheduler mq-deadline registered [ 0.502155] io scheduler kyber registered [ 0.507187] [DISP]disp_module_init [ 0.511138] disp 5000000.disp: Adding to iommu group 0 [ 0.516765] [DISP] parser_disp_init_para,line:1430: [ 0.516768] of_property_read fb0_width fail [ 0.525868] [DISP] disp_init,line:2386: [ 0.525872] smooth display screen:0 type:1 mode:4 [ 0.550563] display_fb_request,fb_id:0 [ 0.556668] Freeing logo buffer memory: 1500K [ 0.561570] disp_al_manager_apply ouput_type:1 [ 0.566219] sunxi_pwm_enable_dual: can't parse pwm device [ 0.568910] [DISP]disp_module_init finish [ 0.576642] sunxi_sid_init()551 - insmod ok [ 0.581811] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.592012] uart uart0: uart0 supply uart not found, using dummy regulator [ 0.599165] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.607017] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n [ 0.615019] printk: console [ttyS0] enabled [ 0.615019] printk: console [ttyS0] enabled [ 0.623918] printk: bootconsole [earlycon0] disabled [ 0.623918] printk: bootconsole [earlycon0] disabled [ 0.635296] misc dump reg init [ 0.639859] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.651129] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 0.658370] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 0.665726] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 0.673177] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 0.679736] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 0.686689] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 0.694436] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 0.702307] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 0.710440] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 0.718082] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 0.724860] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 0.732409] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0 [ 0.740407] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11 [ 0.747562] [ADDR_MGT] addr_mgt_probe: success. [ 0.752950] dma-buf: Running sanitycheck [ 0.757348] dma-buf: Running dma_fence [ 0.761614] sizeof(dma_fence)=48 [ 0.765338] dma-buf: Running dma_fence/sanitycheck [ 0.770756] dma-buf: Running dma_fence/test_signaling [ 0.776422] dma-buf: Running dma_fence/test_add_callback [ 0.782421] dma-buf: Running dma_fence/test_late_add_callback [ 0.788889] dma-buf: Running dma_fence/test_rm_callback [ 0.794750] dma-buf: Running dma_fence/test_late_rm_callback [ 0.801111] dma-buf: Running dma_fence/test_status [ 0.806490] dma-buf: Running dma_fence/test_error [ 0.811778] dma-buf: Running dma_fence/test_wait [ 0.816957] dma-buf: Running dma_fence/test_wait_timeout [ 0.858625] dma-buf: Running dma_fence/test_stub [ 0.863822] dma-buf: Running dma_fence/race_signal_callback [ 0.938622] thread_signal_callback[0] completed 36999 passes, 71 misses [ 0.946072] thread_signal_callback[1] completed 36966 passes, 39 misses [ 1.018620] thread_signal_callback[0] completed 41604 passes, 41603 misses [ 1.026357] thread_signal_callback[1] completed 41604 passes, 41604 misses [ 1.034589] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223 [ 1.041909] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.049770] sunxi-spinand-phy: not detect any munufacture from id table [ 1.057200] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.063861] sunxi-spinand-phy: get phy info from fdt fail [ 1.069925] sunxi-spinand-phy: not detect munufacture from fdt [ 1.076560] sunxi-spinand-phy: detect munufacture from id table: Winbond [ 1.084099] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff [ 1.091196] sunxi-spinand-phy: ========== arch info ========== [ 1.097737] sunxi-spinand-phy: Model: W25N01GVZEIG [ 1.104515] sunxi-spinand-phy: Munufacture: Winbond [ 1.110778] sunxi-spinand-phy: DieCntPerChip: 1 [ 1.116440] sunxi-spinand-phy: BlkCntPerDie: 1024 [ 1.122411] sunxi-spinand-phy: PageCntPerBlk: 64 [ 1.128170] sunxi-spinand-phy: SectCntPerPage: 4 [ 1.133843] sunxi-spinand-phy: OobSizePerPage: 64 [ 1.139618] sunxi-spinand-phy: BadBlockFlag: 0x0 [ 1.145475] sunxi-spinand-phy: OperationOpt: 0x7 [ 1.151342] sunxi-spinand-phy: MaxEraseTimes: 65000 [ 1.157399] sunxi-spinand-phy: EccFlag: 0x0 [ 1.163310] sunxi-spinand-phy: EccType: 2 [ 1.168994] sunxi-spinand-phy: EccProtectedType: 3 [ 1.174663] sunxi-spinand-phy: ======================================== [ 1.182093] sunxi-spinand-phy: [ 1.185610] sunxi-spinand-phy: ========== physical info ========== [ 1.192555] sunxi-spinand-phy: TotalSize: 128 M [ 1.197925] sunxi-spinand-phy: SectorSize: 512 B [ 1.203305] sunxi-spinand-phy: PageSize: 2 K [ 1.208485] sunxi-spinand-phy: BlockSize: 128 K [ 1.213863] sunxi-spinand-phy: OOBSize: 64 B [ 1.219145] sunxi-spinand-phy: ======================================== [ 1.226566] sunxi-spinand-phy: [ 1.230091] sunxi-spinand-phy: ========== logical info ========== [ 1.236922] sunxi-spinand-phy: TotalSize: 128 M [ 1.242307] sunxi-spinand-phy: SectorSize: 512 B [ 1.247676] sunxi-spinand-phy: PageSize: 4 K [ 1.252859] sunxi-spinand-phy: BlockSize: 256 K [ 1.258234] sunxi-spinand-phy: OOBSize: 128 B [ 1.263619] sunxi-spinand-phy: ======================================== [ 1.271048] sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1 [ 1.278082] sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1 [ 1.285170] sunxi-spinand-phy: block lock register: 0x00 [ 1.291237] sunxi-spinand-phy: feature register: 0x19 [ 1.296904] sunxi-spinand-phy: sunxi physic nand init end [ 1.303412] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.309607] 0x000000000000-0x000000100000 : "boot0" [ 1.319535] 0x000000100000-0x000000500000 : "uboot" [ 1.327109] random: fast init done [ 1.339522] 0x000000500000-0x000000600000 : "secure_storage" [ 1.349475] 0x000000600000-0x000008000000 : "sys" [ 1.519684] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.527035] sunxi-ehci: EHCI SUNXI driver [ 1.532043] get ehci1-controller wakeup-source is fail. [ 1.538002] sunxi ehci1-controller don't init wakeup source [ 1.544309] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b68700, 0x:c8837000, irq_no:3a [ 1.556348] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 1.568850] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 1.581062] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 1.588317] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 1.598373] sunxi-ehci 4200000.ehci1-controller: irq 58, io mem 0x04200000 [ 1.628640] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 1.637231] hub 1-0:1.0: USB hub found [ 1.641525] hub 1-0:1.0: 1 port detected [ 1.646494] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.653483] sunxi-ohci: OHCI SUNXI driver [ 1.658476] get ohci1-controller wakeup-source is fail. [ 1.664466] sunxi ohci1-controller don't init wakeup source [ 1.670735] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b68990 [ 1.680449] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 1.692953] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 1.705149] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 1.712437] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 1.722341] sunxi-ohci 4200400.ohci1-controller: irq 59, io mem 0x04200400 [ 1.803413] hub 2-0:1.0: USB hub found [ 1.807655] hub 2-0:1.0: 1 port detected [ 1.812733] usbcore: registered new interface driver usb-storage [ 1.819633] i2c /dev entries driver [ 1.823618] sunxi cedar version 1.1 [ 1.827720] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.834059] VE: sunxi_cedar_probe power-domain init!!! [ 1.839839] VE: install start!!! [ 1.839839] [ 1.845371] VE: cedar-ve the get irq is 40 [ 1.845371] [ 1.851844] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval) [ 1.851844] [ 1.861154] VE: install end!!! [ 1.861154] [ 1.866231] VE: sunxi_cedar_probe [ 1.870210] Bluetooth: HCI UART driver ver 2.3 [ 1.875197] Bluetooth: HCI UART protocol H4 registered [ 1.880993] Bluetooth: HCI UART protocol BCSP registered [ 1.886949] Bluetooth: HCI UART protocol (null) registered [ 1.893113] Bluetooth: HCI Realtek H5 protocol initialized [ 1.901421] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40) [ 1.911440] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 1.917634] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 1.924024] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 1.930501] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 1.936945] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 1.943501] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 1.950061] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 1.956602] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 1.963596] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 1.969189] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.980370] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.000516] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.024942] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 2.030660] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.042772] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40) [ 2.052778] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.053852] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.058993] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.076930] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.083404] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.089869] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.089880] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.096417] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.114592] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.115849] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.121183] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.139361] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.148766] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.159965] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.174342] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.183359] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.195006] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.195092] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.218359] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.219130] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.230133] mmc0: new high speed SDHC card at address 1234 [ 2.237668] exFAT: Version 1.3.0 [ 2.243099] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.244002] mmcblk0: mmc0:1234 SA32G 28.8 GiB [ 2.247592] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.265502] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.278792] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 2.280212] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.284606] sunxi-spdif 2036000.spdif: Not using gpio-spdif gpio from dts [ 2.297488] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.303795] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 2.303795] [ 2.310614] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.327058] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.334530] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.345109] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 2.352216] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.360548] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.366370] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.376234] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.395148] sunxi-codec-machine 2030340.sound: 2030000.codec 203034c.dummy_cpudai mapping ok [ 2.406048] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [ 2.417992] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.426921] NET: Registered protocol family 10 [ 2.431981] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.439581] Segment Routing with IPv6 [ 2.443801] NET: Registered protocol family 17 [ 2.449041] Bluetooth: RFCOMM TTY layer initialized [ 2.454521] Bluetooth: RFCOMM socket layer initialized [ 2.460342] Bluetooth: RFCOMM ver 1.11 [ 2.465135] Registering SWP/SWPB emulation handler [ 2.485003] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator [ 2.494874] sunxi-i2c sunxi-i2c2: probe success [ 2.501305] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 2.513596] sunxi-audio-card 203605c.soundspdif: use dummy codec for simple card. [ 2.522172] debugfs: Directory '2036000.spdif' with parent 'sndspdif' already present! [ 2.531491] sunxi-audio-card 203605c.soundspdif: snd-soc-dummy-dai 2036000.spdif mapping ok [ 2.542207] get ehci0-controller wakeup-source is fail. [ 2.548168] sunxi ehci0-controller don't init wakeup source [ 2.554472] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b681e0, 0x:c88a4000, irq_no:38 [ 2.566481] [sunxi-ehci0]: Not init ehci0 [ 2.571309] get ohci0-controller wakeup-source is fail. [ 2.577254] sunxi ohci0-controller don't init wakeup source [ 2.583534] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b68470 [ 2.593208] [sunxi-ohci0]: Not init ohci0 [ 2.599061] get usb_detect_mode is fail, -22 [ 2.603855] get det_vbus is fail, -84 [ 2.607958] get id is fail, -84 [ 2.613461] clk: Not disabling unused clocks [ 2.618262] ALSA device list: [ 2.622028] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.631744] cfg80211: failed to load regulatory.db [ 2.631758] #0: audiocodec [ 2.640370] #1: sndspdif [ 2.643410] alloc_fd: slot 0 not NULL! [ 2.647830] Waiting 2 sec before mounting root device... [ 3.638636] [ 3.638636] insmod_device_driver [ 3.638636] [ 3.645836] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator [ 3.657971] device_chose finished 142! [ 4.684109] VFS: Mounted root (squashfs filesystem) readonly on device 179:5. [ 4.694725] devtmpfs: mounted [ 4.699972] Freeing unused kernel memory: 1024K [ 4.728769] Run /pseudo_init as init process mount: mounting none on /dev failed: Resource busy [ 5.546873] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support! [ 5.562997] EXT4-fs (mmcblk0p7): mounted filesystem with journalled data mode. Opts: data=journal can't run '/etc/preinit': No such file or directory mount: mounting proc on /proc failed: Resource busy mount: mounting tmpfs on /run failed: No such file or directory hostname: can't open '/etc/hostname': No such file or directory ------run rc.preboot file----- [ 7.127500] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) ------run rc.modules file----- insmod: can't insert '/lib/modules/5.4.61/usb-storage.ko': No such file or directory [ 7.156302] sunxi_gpadc_init,2151, success [ 7.161260] sunxi_gpadc_setup: get channel scan data failed [ 7.167858] input: sunxi-gpadc0 as /devices/virtual/input/input1 [ 7.285899] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 7.393062] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 7.399364] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.410627] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 7.430782] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.455710] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.470316] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.483619] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range [ 7.502365] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 7.513970] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 7.525815] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 7.538373] mmc1: new high speed SDIO card at address 0001 [ 7.648119] random: crng init done Successfully initialized wpa_supplicant ------run rc.final file----- mount: mounting /dev/mmcblk0p1 on /mnt/extsd failed: No such file or directory Trying to connect to SWUpdate...BusyBox v1.27.2 () built-in shell (ash)------run profile file-----_____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _| | _ | || | | |__ | || || | ||_'_|| | | || | || _ | |_____||_||_|_||___||_,_||_| |_||_|_||_|_| Tina is Based on OpenWrt!----------------------------------------------Tina Linux (Neptune, 5C1C9C53)---------------------------------------------- nodev debugfs root@TinaLinux:/# [ 12.331478] file system registered [ 12.349176] configfs-gadget 4100000.udc-controller: failed to start g1: -19 sh: write error: No such device [ 12.372128] read descriptors [ 12.375388] read strings swu_param: #### swu_software: #### swu_mode: #### no swupdate_cmd to run, wait for next swupdate [ 15.090967] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 33.168639] usb1-vbus: disablingroot@TinaLinux:/#


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3